<?php

namespace App\Utils;

class TimeUtils
{
    //返回当前的毫秒时间戳
    public  static function msectime() {
        list($msec, $sec) = explode(' ', microtime());
        $msectime = (int)sprintf('%.0f', (floatval($msec) + floatval($sec)) * 1000);
        return $msectime;
    }
}
